From: Jonathan Dieter Date: Thu, 22 Mar 2018 11:13:16 +0000 (+0200) Subject: Use add_project_arguments instead of use_global_arguments X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~345 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c47b64b31ca4f53b741b98ff0620738c9fa8ca6f;p=zchunk.git Use add_project_arguments instead of use_global_arguments Signed-off-by: Jonathan Dieter --- diff --git a/meson.build b/meson.build index a670ac6..a274bc0 100644 --- a/meson.build +++ b/meson.build @@ -13,7 +13,7 @@ endif if use_zstd == 'auto' or use_zstd == 'yes' zstd_dep = dependency('libzstd', required:zstd_required) if zstd_dep.found() - add_global_arguments('-DZCHUNK_ZSTD', language : 'c') + add_project_arguments('-DZCHUNK_ZSTD', language : 'c') use_zstd = 'yes' endif endif